package com.zr.wodedingdan.service.impl;

import com.zr.util.ResultVOBuilder;
import com.zr.util.ResultVo;
import com.zr.wodedingdan.mapper.WodedingdanMapper;
import com.zr.wodedingdan.pojo.PaymentInformation;
import com.zr.wodedingdan.service.WodedingdanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2019/7/3 0003.
 */
@Service
public class WodedingdanServiceImpl implements WodedingdanService {
    @Autowired
    private WodedingdanMapper paymentInformationMapper;

    @Override
    public ResultVo update(Integer id) {
        PaymentInformation paymentInformation = paymentInformationMapper.update(id);

        return ResultVOBuilder.success(paymentInformation);
    }
}
